using System.Collections.Generic;
using MvcEngine.Mvc.UI.Syntax;

namespace MvcEngine.Mvc.UI
{
	/// <summary>
	/// Defines a grid model
	/// </summary>
	public interface IGridModel<T> where T: class 
	{
		IGridRenderer<T> Renderer { get; set; }
		ICollection<GridColumn<T>> Columns { get; }
        ICollection<GridFooter<T>> Footers { get; }
		IGridSections<T> Sections { get; }
		string EmptyText { get; set; }
		IDictionary<string, object> Attributes { get; set; }
	}
}